
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>rabbitMQ03消息队列协议 · RabbitMQ</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="<yangxin19970404@163.com>">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="rabbitMQ04消息的持久化.html" />
    
    
    <link rel="prev" href="rabbitMQ02基于消息中间件的分布式系统.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="rabbitMQ01什么是中间件.html">
            
                <a href="rabbitMQ01什么是中间件.html">
            
                    
                    rabbitMQ01什么是中间件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="rabbitMQ02基于消息中间件的分布式系统.html">
            
                <a href="rabbitMQ02基于消息中间件的分布式系统.html">
            
                    
                    rabbitMQ02基于消息中间件的分布式系统
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="rabbitMQ03消息队列协议.html">
            
                <a href="rabbitMQ03消息队列协议.html">
            
                    
                    rabbitMQ03消息队列协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="rabbitMQ04消息的持久化.html">
            
                <a href="rabbitMQ04消息的持久化.html">
            
                    
                    rabbitMQ04消息的持久化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="rabbitMQ05消息的分发策略.html">
            
                <a href="rabbitMQ05消息的分发策略.html">
            
                    
                    rabbitMQ05消息的分发策略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="rabbitMQ06高可用和高可靠.html">
            
                <a href="rabbitMQ06高可用和高可靠.html">
            
                    
                    rabbitMQ06高可用和高可靠
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="rabbitMQ07RabbitMQ入门及安装.html">
            
                <a href="rabbitMQ07RabbitMQ入门及安装.html">
            
                    
                    rabbitMQ07RabbitMQ入门及安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="rabbitMQ08Web管理界面及授权操作.html">
            
                <a href="rabbitMQ08Web管理界面及授权操作.html">
            
                    
                    rabbitMQ08Web管理界面及授权操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="rabbitMQ09docker安装rabbitmq.html">
            
                <a href="rabbitMQ09docker安装rabbitmq.html">
            
                    
                    rabbitMQ09docker安装rabbitmq
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="rabbitMQ10角色分类.html">
            
                <a href="rabbitMQ10角色分类.html">
            
                    
                    rabbitMQ10角色分类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="rabbitMQ11核心组成部分.html">
            
                <a href="rabbitMQ11核心组成部分.html">
            
                    
                    rabbitMQ11核心组成部分
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="rabbitMQ12案例.html">
            
                <a href="rabbitMQ12案例.html">
            
                    
                    rabbitMQ12案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="rabbitMQ13work模式.html">
            
                <a href="rabbitMQ13work模式.html">
            
                    
                    rabbitMQ13work模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="rabbitMQ14springboot整合mq.html">
            
                <a href="rabbitMQ14springboot整合mq.html">
            
                    
                    rabbitMQ14springboot整合mq
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >rabbitMQ03消息队列协议</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="&#x6D88;&#x606F;&#x961F;&#x5217;&#x534F;&#x8BAE;">&#x6D88;&#x606F;&#x961F;&#x5217;&#x534F;&#x8BAE;</h3>
<p>&#x6240;&#x8C13;&#x534F;&#x8BAE;&#x662F;&#x6307;:</p>
<ul>
<li>&#x8BA1;&#x7B97;&#x673A;&#x5E95;&#x5C42;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x548C;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x901A;&#x8BAF;&#x65F6;&#x5171;&#x540C;&#x9075;&#x5B88;&#x7684;&#x4E00;&#x7EC4;&#x7EA6;&#x5B9A;,&#x53EA;&#x6709;&#x9075;&#x5FAA;&#x5171;&#x540C;&#x7684;&#x7EA6;&#x5B9A;&#x548C;&#x89C4;&#x8303;,&#x7CFB;&#x7EDF;&#x548C;&#x64CD;&#x4F5C;&#x5E95;&#x5C42;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4E4B;&#x95F4;&#x624D;&#x80FD;&#x4E92;&#x76F8;&#x4EA4;&#x6D41;</li>
<li>&#x548C;&#x4E00;&#x822C;&#x7684;&#x7F51;&#x7EDC;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x4E4B;&#x95F4;&#x7684;&#x4E0D;&#x540C;&#x5B83;&#x4E3B;&#x8981;&#x8D1F;&#x8D23;&#x6570;&#x636E;&#x7684;&#x63A5;&#x6536;&#x548C;&#x4F20;&#x9012;,&#x6240;&#x4EE5;&#x6027;&#x80FD;&#x6BD4;&#x4EF7;&#x9AD8;</li>
<li>&#x534F;&#x8BAE;&#x5BF9;&#x6570;&#x636E;&#x683C;&#x5F0F;&#x548C;&#x8BA1;&#x7B97;&#x673A;&#x4E4B;&#x95F4;&#x4EA4;&#x6362;&#x6570;&#x636E;&#x90FD;&#x5FC5;&#x987B;&#x4E25;&#x683C;&#x9075;&#x5B88;&#x89C4;&#x8303;</li>
</ul>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210330202854.png" alt=""></p>
<p><strong>&#x6211;&#x4EEC;&#x77E5;&#x9053;&#x6D88;&#x606F;&#x4E2D;&#x95F4;&#x4EF6;&#x662F;&#x8D1F;&#x8D23;&#x6570;&#x636E;&#x7684;&#x4F20;&#x9012;,&#x5B58;&#x50A8;&#x548C;&#x5206;&#x53D1;&#x6D88;&#x8D39;&#x8FD9;&#x4E09;&#x4E2A;&#x90E8;&#x5206;,&#x6570;&#x636E;&#x7684;&#x5B58;&#x50A8;&#x548C;&#x5206;&#x53D1;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#x80AF;&#x5B9A;&#x8981;&#x9075;&#x5FAA;&#x67D0;&#x79CD;&#x7EA6;&#x5B9A;&#x4FD7;&#x6210;&#x7684;&#x89C4;&#x8303;.</strong></p>
<h3 id="&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x4E09;&#x8981;&#x7D20;">&#x7F51;&#x7EDC;&#x534F;&#x8BAE;&#x4E09;&#x8981;&#x7D20;</h3>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210330203627.png" alt=""></p>
<h3 id="amqp&#x534F;&#x8BAE;">AMQP&#x534F;&#x8BAE;</h3>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210330204208.png" alt=""></p>
<p>&#x7279;&#x6027;:</p>
<ul>
<li>&#x5206;&#x5E03;&#x5F0F;&#x4E8B;&#x52A1;&#x652F;&#x6301;</li>
<li>&#x6D88;&#x606F;&#x7684;&#x6301;&#x4E45;&#x5316;&#x652F;&#x6301;</li>
<li>&#x9AD8;&#x6027;&#x80FD;&#x548C;&#x9AD8;&#x53EF;&#x9760;&#x7684;&#x6D88;&#x606F;&#x5904;&#x7406;&#x4F18;&#x52BF;</li>
<li><strong>&#x652F;&#x6301;&#x8005;: RabbitMQ &#x548C;ActiveMQ</strong></li>
</ul>
<h3 id="mqtt&#x534F;&#x8BAE;">MQTT&#x534F;&#x8BAE;</h3>
<p><img src="./imgs/&#x5FAE;&#x4FE1;&#x622A;&#x56FE;_20210330204334.png" alt=""></p>
<h3 id="openmessage&#x534F;&#x8BAE;">OpenMessage&#x534F;&#x8BAE;</h3>
<p>&#x7279;&#x70B9;:</p>
<ul>
<li>&#x7ED3;&#x6784;&#x7B80;&#x5355;</li>
<li>&#x89E3;&#x6790;&#x901F;&#x5EA6;&#x5FEB;</li>
<li>&#x652F;&#x6301;&#x4E8B;&#x52A1;&#x548C;&#x6301;&#x4E45;&#x5316;&#x8BBE;&#x8BA1;</li>
</ul>
<h3 id="kafka&#x534F;&#x8BAE;">Kafka&#x534F;&#x8BAE;</h3>
<p>&#x7279;&#x70B9;:</p>
<ul>
<li>&#x7ED3;&#x6784;&#x7B80;&#x5355;</li>
<li>&#x89E3;&#x6790;&#x901F;&#x5EA6;&#x5FEB;</li>
<li>&#x65E0;&#x4E8B;&#x52A1;&#x652F;&#x6301;</li>
<li>&#x6709;&#x6301;&#x4E45;&#x5316;&#x8BBE;&#x8BA1;</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="rabbitMQ02基于消息中间件的分布式系统.html" class="navigation navigation-prev " aria-label="Previous page: rabbitMQ02基于消息中间件的分布式系统">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="rabbitMQ04消息的持久化.html" class="navigation navigation-next " aria-label="Next page: rabbitMQ04消息的持久化">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"rabbitMQ03消息队列协议","level":"1.4","depth":1,"next":{"title":"rabbitMQ04消息的持久化","level":"1.5","depth":1,"path":"rabbitMQ04消息的持久化.md","ref":"rabbitMQ04消息的持久化.md","articles":[]},"previous":{"title":"rabbitMQ02基于消息中间件的分布式系统","level":"1.3","depth":1,"path":"rabbitMQ02基于消息中间件的分布式系统.md","ref":"rabbitMQ02基于消息中间件的分布式系统.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"<yangxin19970404@163.com>","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"RabbitMQ","language":"zh-hans","gitbook":"3.2.3","description":"RabbitMQ > 消息队列"},"file":{"path":"rabbitMQ03消息队列协议.md","mtime":"2021-03-30T12:45:41.218Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-04-17T07:48:53.921Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

